<?php

use Illuminate\Routing\Router;

Route::group([
    'prefix'        => 'admin/ali',
    'namespace'     => 'Beerus\\Modules\\Ali\\Controllers',
    'middleware'    => [
        'web',
        'admin',
    ],
], function (Router $router) {
    // 家居关键词
    $router->get('/furniturekeywords/index', 'FurnitureKeywordController@list')->name('furniturekeywords.index');
    $router->get('/furniturekeywords/index/create', 'FurnitureKeywordController@edit')->name('furniturekeywords.edit');
    $router->get('/furniturekeywords/index/{id}/edit', 'FurnitureKeywordController@edit')->name('furniturekeywords.editaction');
    $router->post('/furniturekeywords/save', 'FurnitureKeywordController@editSubmit')->name('furniturekeywords.editSubmit');
    $router->delete('/furniturekeywords/index/{id}', 'FurnitureKeywordController@del')->name('furniturekeywords.del');


   //todayNiceGoods
    $router->get('/todaynicegoods/index', 'TodayNiceGoodsController@list')->name('todaynicegoods.index');
    $router->get('/todaynicegoods/index/create', 'TodayNiceGoodsController@edit')->name('todaynicegoods.edit');
    $router->get('/todaynicegoods/index/{id}/edit', 'TodayNiceGoodsController@edit')->name('todaynicegoods.editaction');
    $router->post('/todaynicegoods/save', 'TodayNiceGoodsController@editSubmit')->name('todaynicegoods.editSubmit');
    $router->delete('/todaynicegoods/index/{id}', 'TodayNiceGoodsController@del')->name('todaynicegoods.del');

});
